<style>
    .information .stats a {
        width: 220px;
        text-align: right;
        display: inline-block;
        font-weight: bold;
        font-style: 1.2em;
    }

    .information .stats span {
        margin-left: 10px;
    }
</style>
<div class="project-block">
  <div class="img-tag">
    <%= link_to image_tag('../images/avatars/Project/0', :class => 'avatar2'), open_source_project_path(project), :onclick => "return click_project_img_after_search(this,'#{request.session_options[:id]}','#{i+1}');" %>
  </div>
  <div class="wiki-description">
      <%#= textilizable(project.short_description, :project => project) %>
      <%= show_project_descriptions project.description, 300 %>
  </div>

  <div class="information">
    <p class="stats">
      <%#= link_to project_info.followers_num, open_source_project_path(project) %>
      <a>
        <%#= (project.result.relative_memos_num.nil?)?0:project.result.relative_memos_num.to_i %>
      </a>
      <%#= content_tag('span', l(:label_x_relative_topics_count, :count => 0)) %>
    </p>

    <!--
    <p class="stats">
          <a>
            <%#= project.result.download_num %>
          </a>
          <%= content_tag('span', l(:label_x_download_num, :count => 0)) %>
        </p>
    -->
    

    <p class="stats">
      <!--%= link_to project_info.visit_num, open_source_project_path(project) %-->
      <a>
        <%#= short_num((project.result.view_num_ossean.nil?)?0:project.result.view_num_ossean)%>
        <%#= short_num ((project.view_num.nil?)?0:project.view_num)+project.view_num_ossean+project.relative_topics.sum('view_num') %>
      </a>
       <%#= content_tag('span', l(:label_view_num)) %>
    </p>
    
    <!-- <p class="stats">
      <a>
        <% #= (project.result.view_num_ossean + project.result.composite_score*0.01).round(2) %>
      </a>
      <%= content_tag('span', l(:label_hot_value, :count => 0)) %>
    </p> -->
    
    <!-- <p class="stats">
      <a>
        <#%= project.score.round(4) %>
      </a>
      <#%= content_tag('span', l(:label_match_score, :count => 0)) %>
    </p> -->
    
    <!--<p class="stats">-->
    <!--#%=link_to project.result.code_line %-->
    <!--#%= content_tag('span',  "行代码") %-->
    <!--</p>-->
  </div>


</div>
<div class="add-info">
  <!--<div class="main-language">-->

  <!--<%= content_tag('span', "#{l(:default_role_manager)}: ") %>-->

  <!--</div>-->
  <div class="licences">
    <%= content_tag('span', "#{l(:label_create_time)}: ") %>
    <%= content_tag('span', project.created_time.to_s[0,10]) %>
  </div>

  <!--gcm-->
  <!--</div>-->
  <!--<div class="url">-->
  <!--gcm end-->
  <!--<div class="main-language">-->
    <!--<%#= content_tag('span', "项目来源：") %>-->
    <!--<div id="project_sources">-->
      <!--<%#= show_project_urls project.result.url %>-->
    <!--</div>-->
    <!--<%#= link_to project_info.url, project_info.url %>-->
  <!--</div>-->
  <!--<div class="licences">-->
    <!--<%#= content_tag('span', "数据更新时间:") %><%#= content_tag('span', project.result.updated_at) %>-->
  <!--</div>-->
</div>
<div class="tags">
  <div id="tags">
    <%= image_tag("/images/sidebar/tags.png") %>
    <%= render :partial => 'tags/tag_name', :locals => {:obj => project, :object_flag => "8", :non_list_all => true} %>
  </div>
</div>
